﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace libPlugin
{
    public abstract class BotCommand
    {
        public Regex commandSyntax { get; set; }
        public abstract string helpInformation { get; }

        public abstract BotResult controller(string command);
    }

    public struct BotResult
    {
        public string NetWrite { get; set; }
        public string ConWrite { get; set; }
        public string LogWrite { get; set; }
    }
    
    public struct BotJob
    {
        public BotCommand command { get; set; }
        public string commandToProcess { get; set; }
        public DateTime addedTime { get; set; }
        public BotResult jobResult { get; set; }
    }
}
